package com.xyz.service;

import com.xyz.dto.CountDto;
import com.xyz.util.dto.DataResult;
import com.xyz.util.dto.LoginInfo;

public interface HomeMaintenService {

    //维修看板-头部信息
    DataResult selectHeadRo(LoginInfo loginInfo, CountDto countDto) throws Exception;

    //维修看板-故障曲线图
    DataResult selectFault(LoginInfo loginInfo, CountDto countDto) throws Exception;

    //人员工单排行
    DataResult selectRoPersonRanking(LoginInfo loginInfo, CountDto countDto) throws Exception;

    //人员评分排行
    DataResult selectScorePersonRanking(LoginInfo loginInfo, CountDto countDto) throws Exception;

    //设备故障类型分布饼状图
    DataResult selectFaultPie(LoginInfo loginInfo, CountDto countDto) throws Exception;

    //设备故障原因分析
    DataResult selectReason(LoginInfo loginInfo, CountDto countDto) throws Exception;

    //维修来源分析
    DataResult selectRepairSource(LoginInfo loginInfo, CountDto countDto) throws Exception;

    //备件使用排行
    DataResult selectPartRanking(LoginInfo loginInfo, CountDto countDto) throws Exception;

    //设备维修排行
    DataResult selectEmRanking(LoginInfo loginInfo, CountDto countDto) throws Exception;
}
